<div id="headerMenu">
  <ul>
    <li id="active"><%= link_to  t('menu_home'), :controller => 'wellcome', :action => 'index'%></li><li>|</li>
    <% if user_signed_in? %>
      <li id=""><a href="#"><%= t('menu_my_data') %> </a>
        <div class="sub">
          <ul>
            <li id="active"><%= link_to  t('menu_edit_acount'), edit_user_registration_path%></li>
          </ul>
          <% contact = Contact.find_by_user_id(current_user.id) %>
          <% if !contact.nil? %>
            <ul>
              <li id="active"><%= link_to  t('menu_edit_contact'), edit_contact_path(contact)%></li>
            </ul>
            <ul>
              <li id="active"><%= link_to  t('menu_edit_contact_profiles'), contact_profiles_path%></li>
            </ul>
          <% end %>
        </div>
      </li><li>|</li>
      <li id="active"><%= link_to  t('menu_my_favorites'), my_favorites_path%></li><li>|</li>
      <li id="active"><%= link_to  t('menu_my_wish_lists'), my_wish_lists_path%></li><li>|</li>

      <% if current_user.role? :role_admin %>
        <li id=""><a href="#"><%= t('menu_configuration') %> </a>
          <div class="sub">
            <li style="font-weight: bold" id=""><a href="#"><%= t('menu_maintenance') %> </a> </li>
            <ul>
              <li><%= link_to  t('menu_contact'), contacts_path%></li>
            </ul>
            <ul>
              <li><%= link_to  t('menu_general_news_letters'), general_news_letters_path%></li>
            </ul>
            <ul>
              <li><%= link_to  t('menu_wish_lists'), wish_lists_path%></li>
            </ul>
            <ul>
              <li><%= link_to  t('menu_settings'), settings_path%></li>
            </ul>
            <ul>
              <li><%= link_to  t('menu_profile'), profiles_path%></li>
            </ul>
            <ul>
              <li id="active"><%= link_to  t('menu_user'), localusers_path%></li>
            </ul>

            <li style="font-weight: bold" id=""><a href="#"><%= t('menu_process_system') %> </a> </li>
            <ul>
              <li id="active"><%= link_to  t('menu_tasks'), tasks_path%></li>
            </ul>
            <ul>
              <li id="active"><%= link_to  t('menu_scheduled_tasks'), scheduled_tasks_path%></li>
            </ul>
            <ul>
              <li id="active"><%= link_to  t('menu_scheduled_task_logs'), scheduled_task_logs_path%></li>
            </ul>

          </div>
        </li><li>|</li>
      <li id="active"><%= link_to  "Catalogo (desaparecere)", "/catalogs"%></li><li>|</li>
      <%  end %>
    <% end %>

<!--
    <li class=""><a href="index.php?main=includes/catalog.php">On-line Catalog</a></li><li>|</li>
    <li class=""><a href="#">My lists</a>
      <div class="sub">
        <ul>
          <li><a href="#">New list</a></li>
          <li><a href="#">New folder</a></li>
          <li><a href="#">View my lists</a></li>
        </ul>
      </div>
    </li><li>|</li>
    <li class=""><a href="#">My account</a></li><li>|</li>
    <li class=""><a href="#">Sign up</a></li><li>|</li>
    <li class=""><a href="#">Contact</a></li>
-->
  </ul>
</div>

<ul class="mainMenu">
<!--
  <li><a href="index.php?main=includes/services/olc.php">Home</a></li>
  <li><a href="#">Services</a>
    <ul>
      <li><a href="#includes/services/olc.php">On-line catalog</a></li>
      <li><a href="#includes/services/pcen.php">Printed catalogs / Email newsletters</a></li>
      <li><a href="#includes/services/cd.php">Collection development</a></li>
      <li><a href="#includes/services/ca.php">Collection analysis</a></li>
      <li><a href="#includes/services/cat.php">Cataloging</a></li>
      <li><a href="#includes/services/ftp.php">FTP storage </a></li>
      <li><a href="#includes/services/pa.php">Permanent assistance</a></li>
    </ul>
  </li>
  <li><a href="#">About us</a></li>
  <li><a href="#">Contact us</a></li>
-->
</ul>


